# SPDX-License-Identifier: GPL-2.0
#
# lombo smc Makefile
#

obj-$(CONFIG_ARCH_LOMBO)	+= smc.o smc_dev.o smc_operate.o smc_app.o \
				smc_sysfs.o smc_interface.o
SOURCE := $(srctree)/$(src)/n9v1/smc_csp.c
ifneq ($(wildcard $(SOURCE)), )
obj-$(CONFIG_ARCH_LOMBO_N9) += n9v1/
else
obj-y += liblombo_smc.o
$(obj)/liblombo_smc.o: $(src)/liblombo_smc
	cp $< $@
endif

